﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 医药机构费用结算对总账
    /// </summary>
    [DataContract]
    public class SI4206Data
    {
        /// <summary>
        /// 医药机构就诊ID
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "fixmedins_mdtrt_id")]
        public string FixmedinsMdtrtId { get; set; }

        /// <summary>
        /// 定点医药机构编号
        /// 参数类型：字符型
        /// 参数长度：30
        /// 代码标识：
        /// 是否必填：Y
        /// 
        /// </summary>
        [DataMember(Name = "fixmedins_code")]
        public string FixmedinsCode { get; set; }

    }

    [DataContract]
    public class SI4206InputModel
    {
        [DataMember(Name = "input")]
        public SI4206Data Data { get; set; }
    }

    /// <summary>
    /// 医药机构费用结算对总账
    /// </summary>
    public class SI4206RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI4206InputModel Input { get; set; }

        public SI4206RequestModel(MedicalInsuranceOption medicalInsuranceOption) : base(medicalInsuranceOption)
        {
            Infno = "4206";
        }
    }
}
